330 FOR I = 1 TO MN:BU(J,13,2) = BU(J,13,2) +BU(J,I,2): NEXT : NEXT
340 REM CALCULATE RATIOS
350 NDIGITS = 1000
360 DL = 0:OV = 0: FOR MN = 1 TO 13
370 DL = DL +BU(5,MN,2):OV = OV +BU(30,MN,2)
380 R(MN,2) = INT(OV/DL *NDIGITS)/NDIGITS
390 NEXT
400 HOME : PRINT : PRINT "EXPENSE TO INCOME RATIO": PRINT "MONTH"; TAB( 10);"BUDGET"; TAB( 20);"ACTUAL": FOR MN = 1 TO 12: PRINT MN$(MN); TAB( 10);R(MN,1); TAB( 20);R(MN,2): NEXT
410 INPUT "OUTPUT FILE NAME? ";N$
420 M1 = PEEK(107) +256 * PEEK(108)
430 M2 = PEEK(109) +256 * PEEK(110)
440 PRINT D$"BSAVE";N$;",A";M1;",L";M2 -M1 +1
450 INPUT "AGAIN? ";N$: IF N$ = "Y" THEN 170
460 PRINT "DONE"
63000 REM WRITTEN BY LOGAN R. ZINTSMASTER 12/27/80
63010 REM PERMISSION IS GRANTED TO REPRODUCE THIS PROGRAM FOR USE BY APPLE COMPUTER USER GROUPS